package com.android.nexttbi;

import java.util.ArrayList;
import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("Dados")
public class Dados implements IXML{
	public Dados(){
		ListAlias.add(new Alias(Dados.class,"Dados"));
		ListAlias.add(new Alias(Dado.class,"Dado"));
    	ListColectAlias.add(new ColectAlias(Dados.class,"Dado"));
    	ListAlias.add(new Alias(Grupo.class,"Grupo"));
    	
    	ListColectAlias.add(new ColectAlias(Grupo.class,"Dado"));
    	ListAliasAtributte.add(new AliasAtributte(PreviewInfo.class, "label", "label"));
    	ListAliasAtributte.add(new AliasAtributte(PreviewInfo.class, "value", "value"));
    	ListAliasAtributte.add(new AliasAtributte(PreviewInfo.class, "placeholder", "placeholder"));
    	ListAlias.add(new Alias(Preview.class,"Preview"));
    	ListAlias.add(new Alias(PreviewInfo.class,"PreviewInfo"));
	}
	
	private List Dado = new ArrayList();
	private Total Total;

	public List getDados(){
		return Dado;
	}

	public Total getTotal(){
		return Total;
	}
	
	public Preview getPreview() {
		return Preview;
	}
	public void setPreview(Preview preview) {
		Preview = preview;
	}
	
	private Preview Preview;
	
	public void setTotal(Total total) {
		Total = total;
	}

	public List<Alias> getAlias() {
		// TODO Auto-generated method stub
		return ListAlias;
	}
	public List<AliasAtributte> getAliasAtributte() {
		// TODO Auto-generated method stub
		return ListAliasAtributte;
	}
	public List<ColectAlias> getColectAlias() {
		// TODO Auto-generated method stub
		return ListColectAlias;
	}
}
